package com.xyf.sys.service;

import com.xyf.sys.domain.Order;
import com.xyf.sys.domain.UserPrinter;

import java.util.List;
import java.util.Map;

/**
 * @Author R-H
 * @Date 2024/2/241908
 * @Description
 */
public interface IUserPrinterService {

    UserPrinter get(Long id);

    List<UserPrinter> getList(String openid);

    int remove(Long id);

    void removeAll(String userId);

    /**
     * @param printer
     * @return
     */
    UserPrinter save(UserPrinter printer);


    List<UserPrinter> find(String userId, String siid);

    Object printCaptcha(String printerId, String userId);

    Object printerBind(String printerId, String captcha, String userId, Long deptId);

    Object printerUnBind(Long id, String userId);

    Object cloudPrint(Long id, String waybillPrinterData, String userId);

    boolean printCallback(Map<String, Object> body);
}
